#pragma once
#include "EventDispatcher.h"

namespace DinoUI
{
	class Widget
	{
		bool m_bIsActive;

		static DinoUI::EventDispatcher Event_Dispatcher;

	protected:

	public:
		Widget(void);
		~Widget(void);

		//static bool DispatchEvent(::WidgetEvent evt);

		static DinoUI::EventDispatcher &GetEventDispatcher();
		
		bool IsActive();
		void SetActive(bool active);
	};
}